package org.example.trans.service;

import org.example.trans.mapper.LogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogService {
    @Autowired
    private LogMapper logMapper;

    public Integer insertLog(String name, String op) {
        Integer result = logMapper.insertLog(name, op);
        return result;
    }
}
